package com.xixi.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MyCtroller {
    @RequestMapping("/")
    public String indexPage()
    {
        return "index";
    }

    @RequestMapping("/index")
    public String index()
    {
        return  "index";
    }

    @RequestMapping("/foreign")
    public String foreign()
    {
        return "foreign";
    }

    @RequestMapping("/color/index")
    public String colorChina()
    {
        return "chinacolor";
    }

    @RequestMapping("/color")
    public String findCountry()
    {
        return "color";
    }

}
